@charset "utf-8";

html {
    color: #000;
    overflow-y: scroll;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%
}

html * {
    outline: 0;
    -webkit-text-size-adjust: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
}

html,
body {
    font-family: sans-serif
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td,
hr,
button,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    margin: 0;
    padding: 0
}

input,
select,
textarea {
    font-size: 100%
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

fieldset,
img {
    border: 0
}

abbr,
acronym {
    border: 0;
    font-variant: normal
}

del {
    text-decoration: line-through
}

address,
caption,
cite,
code,
dfn,
em,
th,
var {
    font-style: normal;
    font-weight: 500
}

ol,
ul {
    list-style: none
}

caption,
th {
    text-align: left
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: 500
}

q:before,
q:after {
    content: ''
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

ins,
a {
    text-decoration: none;
    color: black;
}

i {
    font-style: normal;
}

.w {
    margin: 0 auto;
    width: 13.8rem;
}

.clearfix:after {
    content: ".";
    /**/
    /*内容为“.”就是一个英文的句号而已。也可以不写。*/
    display: block;
    /**/
    /*加入的这个元素转换为块级元素。*/
    clear: both;
    /**/
    /*清除左右两边浮动。*/
    visibility: hidden;
    /**/
    /*可见度设为隐藏。注意它和display:none;是有区别的。visibility:hidden;仍然占据空间，只是看不到而已；*/
    line-height: 0;
    /**/
    /*行高为0；*/
    height: 0;
    /**/
    /*高度为0；*/
    font-size: 0;
    /**/
    /*字体大小为0；*/
}

footer {
    // margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    height: 2.04rem;
    width: 15rem;
    position: fixed;
    bottom: 0;
    display: flex;
    // justify-content: space-around;
    font-size: .56rem;
    line-height: 2.04rem;

    a {
        text-decoration: none;
        display: block;
    }

    div {
        flex: 1;
        text-align: center;

        div {
            width: .8rem;
            height: .8rem;
            margin: 0 auto -0.2rem auto;
            margin-top: .06rem;
        }

        div img {
            width: 100%;
            height: 100%;
        }

    }

    .active {
        a {
            color: #db372b;
        }

    }
}

body::after {
    content: "";
    display: block;
    height: 2.04rem;
}